<?php

return array(
    'Config'          => array(
        'ID'    => array('conf_ID', 'integer', '', 0),
        'Name'  => array('conf_Name', 'string', 250, ''),
        'Key'   => array('conf_Key', 'string', 250, ''),
        'Value' => array('conf_Value', 'string', '', ''),
    ),
    'Post'            => array(
        'ID'         => array('log_ID', 'integer', '', 0),
        'CateID'     => array('log_CateID', 'integer', '', 0),
        'AuthorID'   => array('log_AuthorID', 'integer', '', 0),
        'Tag'        => array('log_Tag', 'string', 250, ''),
        'Status'     => array('log_Status', 'integer', '', 0),
        'Type'       => array('log_Type', 'integer', '', 0),
        'Alias'      => array('log_Alias', 'string', 250, ''),
        'IsTop'      => array('log_IsTop', 'integer', '', 0),
        'IsLock'     => array('log_IsLock', 'boolean', '', false),
        'Title'      => array('log_Title', 'string', 250, ''),
        'Intro'      => array('log_Intro', 'string', '', ''),
        'Content'    => array('log_Content', 'string', '', ''),
        'CreateTime' => array('log_CreateTime', 'integer', '', 0),
        'PostTime'   => array('log_PostTime', 'integer', '', 0),
        'UpdateTime' => array('log_UpdateTime', 'integer', '', 0),
        'CommNums'   => array('log_CommNums', 'integer', '', 0),
        'ViewNums'   => array('log_ViewNums', 'integer', '', 0),
        'Template'   => array('log_Template', 'string', 250, ''),
        'Meta'       => array('log_Meta', 'string', '', ''),
    ),
    'Category'        => array(
        'ID'          => array('cate_ID', 'integer', '', 0),
        'Name'        => array('cate_Name', 'string', 250, ''),
        'Order'       => array('cate_Order', 'integer', '', 0),
        'Type'        => array('cate_Type', 'integer', '', 0),
        'Count'       => array('cate_Count', 'integer', '', 0),
        'Alias'       => array('cate_Alias', 'string', 250, ''),
        'Group'       => array('cate_Group', 'string', 250, ''),
        'Intro'       => array('cate_Intro', 'string', '', ''),
        'RootID'      => array('cate_RootID', 'integer', '', 0),
        'ParentID'    => array('cate_ParentID', 'integer', '', 0),
        'CreateTime'  => array('cate_CreateTime', 'integer', '', 0),
        'PostTime'    => array('cate_PostTime', 'integer', '', 0),
        'UpdateTime'  => array('cate_UpdateTime', 'integer', '', 0),
        'Template'    => array('cate_Template', 'string', 250, ''),
        'LogTemplate' => array('cate_LogTemplate', 'string', 250, ''),
        'Meta'        => array('cate_Meta', 'string', '', ''),
    ),
    'Comment'         => array(
        'ID'         => array('comm_ID', 'integer', '', 0),
        'LogID'      => array('comm_LogID', 'integer', '', 0),
        'IsChecking' => array('comm_IsChecking', 'boolean', '', false),
        'RootID'     => array('comm_RootID', 'integer', '', 0),
        'ParentID'   => array('comm_ParentID', 'integer', '', 0),
        'AuthorID'   => array('comm_AuthorID', 'integer', '', 0),
        'Name'       => array('comm_Name', 'string', 250, ''),
        'Content'    => array('comm_Content', 'string', '', ''),
        'Email'      => array('comm_Email', 'string', 250, ''),
        'HomePage'   => array('comm_HomePage', 'string', 250, ''),
        'PostTime'   => array('comm_PostTime', 'integer', '', 0),
        'IP'         => array('comm_IP', 'string', 250, ''),
        'Agent'      => array('comm_Agent', 'string', '', ''),
        'Meta'       => array('comm_Meta', 'string', '', ''),
    ),
    'Module'          => array(
        'ID'          => array('mod_ID', 'integer', '', 0),
        'Name'        => array('mod_Name', 'string', 250, ''),
        'FileName'    => array('mod_FileName', 'string', 250, ''),
        'Content'     => array('mod_Content', 'string', '', ''),
        'HtmlID'      => array('mod_HtmlID', 'string', 250, ''),
        'Type'        => array('mod_Type', 'string', 5, 'div'),
        'MaxLi'       => array('mod_MaxLi', 'integer', '', 0),
        'Source'      => array('mod_Source', 'string', 250, 'user'),
        'IsHideTitle' => array('mod_IsHideTitle', 'boolean', '', false),
        'Meta'        => array('mod_Meta', 'string', '', ''),
    ),
    'Member'          => array(
        'ID'         => array('mem_ID', 'integer', '', 0),
        'Guid'       => array('mem_Guid', 'string', 36, ''),
        'Level'      => array('mem_Level', 'integer', '', 6),
        'Status'     => array('mem_Status', 'integer', '', 0),
        'Name'       => array('mem_Name', 'string', 250, ''),
        'Password'   => array('mem_Password', 'string', 250, ''),
        'Email'      => array('mem_Email', 'string', 250, ''),
        'HomePage'   => array('mem_HomePage', 'string', 250, ''),
        'IP'         => array('mem_IP', 'string', 250, ''),
        'CreateTime' => array('mem_CreateTime', 'integer', '', 0),
        'PostTime'   => array('mem_PostTime', 'integer', '', 0),
        'UpdateTime' => array('mem_UpdateTime', 'integer', '', 0),
        'Alias'      => array('mem_Alias', 'string', 250, ''),
        'Intro'      => array('mem_Intro', 'string', '', ''),
        'Articles'   => array('mem_Articles', 'integer', '', 0),
        'Pages'      => array('mem_Pages', 'integer', '', 0),
        'Comments'   => array('mem_Comments', 'integer', '', 0),
        'Uploads'    => array('mem_Uploads', 'integer', '', 0),
        'Template'   => array('mem_Template', 'string', 250, ''),
        'Meta'       => array('mem_Meta', 'string', '', ''),
    ),
    'Tag'             => array(
        'ID'         => array('tag_ID', 'integer', '', 0),
        'Name'       => array('tag_Name', 'string', 250, ''),
        'Order'      => array('tag_Order', 'integer', '', 0),
        'Type'       => array('tag_Type', 'integer', '', 0),
        'Count'      => array('tag_Count', 'integer', '', 0),
        'Alias'      => array('tag_Alias', 'string', 250, ''),
        'Group'      => array('tag_Group', 'string', 250, ''),
        'Intro'      => array('tag_Intro', 'string', '', ''),
        'CreateTime' => array('tag_CreateTime', 'integer', '', 0),
        'PostTime'   => array('tag_PostTime', 'integer', '', 0),
        'UpdateTime' => array('tag_UpdateTime', 'integer', '', 0),
        'Template'   => array('tag_Template', 'string', 250, ''),
        'Meta'       => array('tag_Meta', 'string', '', ''),
    ),
    'Upload'          => array(
        'ID'         => array('ul_ID', 'integer', '', 0),
        'AuthorID'   => array('ul_AuthorID', 'integer', '', 0),
        'Size'       => array('ul_Size', 'integer', '', 0),
        'Name'       => array('ul_Name', 'string', 250, ''),
        'SourceName' => array('ul_SourceName', 'string', 250, ''),
        'MimeType'   => array('ul_MimeType', 'string', 250, ''),
        'PostTime'   => array('ul_PostTime', 'integer', '', 0),
        'DownNums'   => array('ul_DownNums', 'integer', '', 0),
        'LogID'      => array('ul_LogID', 'integer', '', 0),
        'Intro'      => array('ul_Intro', 'string', '', ''),
        'Meta'       => array('ul_Meta', 'string', '', ''),
    ),
    'Keywords'        => array(
        'ID'         => array('id', 'integer', 11, 0),
        'Keywords'   => array('keywords', 'string', '', ''),
        'Category'   => ['category', 'string', 255, ''],
        'UpdateTime' => array('updatetime', 'integer', 16, 0),
        'CreateTime' => array('createtime', 'integer', 16, 0),
        'SubNum'     => array('subnum', 'integer', 11, 0)
    ),
    'CollectArticles' => array(
        'ID'         => array('id', 'integer', 11, 0),
        'Keywords'   => array('keywords', 'string', '', ''),
        'Title'      => array('title', 'string', 255, ''),
        'Content'    => array('content', 'string', '', ''),
        'PageUrl'    => array('page_url', 'string', 255, ''),
        'Author'     => array('author', 'string', 255, ''),
        'Views'      => array('views', 'integer', 10, 0),
        'CreateTime' => array('createtime', 'integer', 16, 0)
    ),
    'PyImplement' => array(
        'ID'             => ['id', 'integer', 10, 0],
        'KeywordId'      => ['keyword_id', 'integer', 11, 0],
        'Updatetime'     => ['updatetime', 'integer', 16, 0],
        'End'            => ['end', 'integer', 2, 0],
        'Db_user'        => ['db_user', 'string', 255, ''],
        'Db_password'    => ['db_password', 'string', 255, ''],
        'Db_name'        => ['db_name', 'string', 255, ''],
        'Db_host'        => ['db_host', 'string', 255, ''],
        'Db_port'        => ['db_port', 'integer', 10, 0],
        'Web_aliases'    => ['web_aliases', 'string', 255, ''],
        'Category'       => ['category', 'string', 255, ''],
        'Ex_description' => ['ex_description', 'string', 255, ''],
    ),

);
